package la.bbs558.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import la.bbs558.entity.User;
import la.bbs558.entity.params.UserSearchPage;
import la.bbs558.entity.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao extends BaseMapper<User> {

    List<User> queryAll();

    IPage<UserVO> selectListForAdmin(@Param("search") UserSearchPage searchPage);
}
